package com.liy.cloud.common.system.entity;

import com.das.framework.common.vo.BaseVO;

import javax.validation.constraints.Min;
import javax.validation.constraints.Size;

/**
 * @Author: liyang
 * @Date: 2018/5/8 16:35
 **/
public class SysInfoEntity extends BaseVO<String> {

    private static final long serialVersionUID = 1728107610981354L;

    /*
     * 系统名称
     */
    @Size(max=50, message="{common.validation.length}")
    private String name;

    /*
     * 系统标题
     */
    @Size(max=50, message="{common.validation.length}")
    private String title;

    /*
     * 访问地址
     */
    @Size(max = 100, message = "{common.validation.length}")
    private String location;

    /*
     * 序号
     */
    @Min(0)
    private Long sno;

    /*
     * 图标
     */
    @Size(max=30, message="{common.validation.length}")
    private String icon;

    /*
     *系统属性
     */
    @Size(max=1000, message="{common.validation.length}")
    private String attributes;

    /*
     * 状态
     */
    @Size(max = 2, message = "{common.validation.length}")
    private String status;

    /*
     * 备注
     */
    @Size(max=1000, message="{common.validation.length}")
    private String remark;

    public SysInfoEntity(String id) {
        this.id = id;
    }

    public SysInfoEntity(){super();}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Long getSno() {
        return sno;
    }

    public void setSno(Long sno) {
        this.sno = sno;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
